export default[
	// 登录
	{
		path:"/demo/login",
		name:"login",
		component:()=>import("../views/demo/login/login")
	},
	// 首页
	{
		path:"/demo/index",
		name:"index",
		component:()=>import("../views/demo/index"),
		redirect:"/demo/home",
		children:[
			// 后台首页
			{
				path:"/demo/home",
				name:"index",
				component:()=>import("../views/demo/home/home"),
			},
			// 相册管理
			{
				path:"/demo/image",
				name:"index",
				component:()=>import("../views/demo/home/image"),
				meta:{
					bread:['相册管理'],
				}
			},
			// 商品列表
			{
				path:"/demo/goods",
				name:"index",
				component:()=>import("../views/demo/goods/goods"),
				meta:{
					bread:['商品列表'],
				}
			},
			// 添加商品
			{
				path:"/demo/addgoods",
				name:"index",
				component:()=>import("../views/demo/goods/AddGoods"),
				meta:{
					bread:['创建商品'],
				}
			},
			// 会员列表
			{
				path:"/demo/user",
				name:"index",
				component:()=>import("../views/demo/memter/user"),
				meta:{
					bread:['会员列表'],
				}
			},
		]
	},
]